//
//  AddWalletViewController.h
//  Wallets Manager
//
//  Created by Tung Nguyen on 9/30/12.
//  Copyright (c) 2012 BKHN. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DataBaseAccess.h"
#import "TapkuLibrary.h"
#import "ChooseWalletIconViewController.h"


@interface AddWalletViewController : UIViewController <UITextFieldDelegate,UIActionSheetDelegate,UIPickerViewDataSource,UIPickerViewDelegate, TKCalendarMonthViewDelegate, TKCalendarMonthViewDataSource>
{
    NSString *currentImageName;
}
@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;
@property (weak, nonatomic) IBOutlet UIButton *imagePickerButton;
@property (weak, nonatomic) IBOutlet UIButton *addButtonPressed;
@property (strong,nonatomic) TKCalendarMonthView *monthViewCalendar;

@property (weak, nonatomic) UITextField  *activeTextField;
@property (weak, nonatomic) IBOutlet UITextField *nameTextField;
@property (weak, nonatomic) IBOutlet UITextField *amoutTextField;
@property (weak, nonatomic) IBOutlet UITextField *currencyTextField;
@property (weak, nonatomic) IBOutlet UITextField *dateTextField;
@property (weak, nonatomic) IBOutlet UITextField *passwordTextField;
@property (weak, nonatomic) IBOutlet UITextField *descriptionTextField;
@property (retain,nonatomic) UIDatePicker *datePickerView;
@property (retain, nonatomic) UIActionSheet *pickerViewPopup;
@property (retain, nonatomic) NSString *dateString;
@property (retain ,nonatomic) UIActionSheet *currencyActionSheet;
@property (retain,nonatomic) UIPickerView *currencyPickerView;
@property (retain ,nonatomic) NSMutableArray *currencyArray;


//ACTION
- (IBAction)backButtonPressed:(id)sender;
- (IBAction)addButtonPressed:(id)sender;
- (IBAction)imagePickerButtonClicked:(id)sender;
- (IBAction)chooseDate:(id)sender;

- (void) createDatePickerView;
- (void) createcurrencyPickerView;
-(void)popUpRefreshFrame;



@end
